package com.example.yoho.utils;

import com.flyco.tablayout.listener.CustomTabEntity;

public class MyCustom implements CustomTabEntity {
    private String text;
    private int choose;
    private int unchoose;

    public MyCustom(String text, int choose, int unchoose) {
        this.text = text;
        this.choose = choose;
        this.unchoose = unchoose;
    }

    @Override
    public String getTabTitle() {
        return text;
    }

    @Override
    public int getTabSelectedIcon() {
        return choose;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unchoose;
    }
}
